import { useState,useEffect } from 'react'
import './App.css'
import { addComment } from './api/request'

function App() {
  useEffect(() => {
    // window.localStorage.setItem('token','eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEzMTQ0NSwiaWF0IjoxNjU5OTQzMTcwLCJleHAiOjE2NjAwMjk1NzB9.wUqwiURPp2yIzAn62nNJqN_AvsuLDUN-h1ABW75qZcY')
    addComment().then(data => {
      console.log(data)
    })
  },[]) 
  return (
    <div className="App">
     
    </div>
  )
}

export default App
